<?php
	/**
 	 * View controller class
 	 */
	class ViewController extends Controller
	{
		/**
	 	 * page title
	 	 */
		public $page_title = LANG_VIEWS;
		
		/**
	 	 * page layout
	 	 */
		public $layout = 'main';
		
		/**
	 	 * necessary helpers
	 	 */
		public $helpers = array ("html", "htmlx", "toolbars");
		
		/**
	 	 * necessary javascript files
	 	 */
		public $javascript = array("TreeMenu");
		
		/**
	 	 * necessary components
	 	 */
		public $components = array ("TreeMenu");
		
		
		/**
	 	 * displays index page
	 	 */
		function index($name)
		{
			$this->data[name] = $name;
			$this->data[views] = $this->GetFileNames("././app/views/".$name);
		}
		
		/**
	 	 * list items of this view
	 	 */
		function listitems($name)
		{
		 	
		}
	}
?>